#!/usr/bin/env bash

trap "echo hello" SIGINT SIGTERM
echo "start"

count=0

while [ $count -le 20 ]; do
	echo "loop $count"
	((count=count+1))
	count=$[ $count + 1 ]
	sleep 3
done

echo "end"
